

import request from '@/request/index.js'




export function getOrders(data) {
	return request.get({
		url: `/api/user/order`,
		data
	});
}
export function scoreorder(data) {
	return request.get({
		url: `/api/index/scoreorder`,
		data
	});
}
export function orderInfo(data) {
	return request.get({
		url: `/api/user/orderInfo`,
		data
	});
}
export function scoreorderInfo(data) {
	return request.get({
		url: `/api/index/scoreorderInfo`,
		data
	});
}
export function goodsCommentIndex(data) {
	return request.get({
		url: `/api/goods/goodsCommentIndex`,
		data
	});
}
export function submitRefund(data) {
	return request.post({
		url: `/api/index/submitRefund`,
		data
	});
}
export function finishOrder(data) {
	return request.post({
		url: `/api/index/finishOrder`,
		data
	});
}
export function goodsComment(data) {
	return request.post({
		url: `/api/goods/goodsComment`,
		data
	});
}
